package com.effectiv.gooruda.rest.domain;
/**
 * 
 */


import java.io.Serializable;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.joda.time.DateTime;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.LastModifiedDate;

/**
 * @author Dhrubo
 * 
 */
@ToString
@EqualsAndHashCode(of={"id"})
public class PesistentBase implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@Getter @Setter
	
	private String id;
	
	
	@CreatedDate
	@Getter
	@Setter
	private DateTime createdDate;
	
	
	@LastModifiedDate
	@Getter
	@Setter
	private DateTime modifiedDate;
}
